cmake_minimum_required(VERSION 2.8)
project(cv_async_demo)

set(CMAKE_CXX_STANDARD 11)

##third
# opencv
# usually e.g:  apt install libopencv-dev
# if not in sys path, you should set path manually

#set(OpenCV_DIR /Users/lhw/Documents/01_my_work/czcv_mobile_intelligence/third_party/prebuilt/linux_x86/opencv4.5.1/lib/cmake/opencv4)
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
###

include_directories(./include/)
set(SRCS src/base/status.cpp
         src/detector/demo_detector.cpp
         src/runner/async_runner.cpp)

add_executable(cv_async_demo  ${SRCS} main.cpp)
target_link_libraries(cv_async_demo ${OpenCV_LIBS} )